package com.gpt.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容分类对象 txt_classify
 * 
 * @author zhuzi
 * @date 2023-12-14
 */
public class TxtClassify extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long id;

    /** fileId */
    private Long fileId;

    private Integer gennum;
    /** 文本源id */
    private String txtId;

    /** 文本内容 */
    @Excel(name = "文本内容")
    private String txtContent;

    /** 文本长度 */
    private Integer txtLength;

    /** 分类id */
    private String classIds;

    /** 分类名称（多个,隔开） */
    @Excel(name = "分类名称")
    private String classNames;

    /** 状态（0待生成，1已生成） */
    private String status;

    /** 使用模型 */
    @Excel(name = "使用模型")
    private String modelName;

    /** 花费token */
//    @Excel(name = "花费token")
    private Integer useToken;

    /** token日志id */
    private Long useTokenId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTxtId(String txtId) 
    {
        this.txtId = txtId;
    }

    public String getTxtId() 
    {
        return txtId;
    }
    public void setTxtContent(String txtContent) 
    {
        this.txtContent = txtContent;
    }

    public String getTxtContent() 
    {
        return txtContent;
    }
    public void setTxtLength(Integer txtLength) 
    {
        this.txtLength = txtLength;
    }

    public Integer getTxtLength() 
    {
        return txtLength;
    }
    public void setClassIds(String classIds) 
    {
        this.classIds = classIds;
    }

    public String getClassIds() 
    {
        return classIds;
    }
    public void setClassNames(String classNames) 
    {
        this.classNames = classNames;
    }

    public String getClassNames() 
    {
        return classNames;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setUseToken(Integer useToken) 
    {
        this.useToken = useToken;
    }

    public Integer getUseToken() 
    {
        return useToken;
    }
    public void setUseTokenId(Long useTokenId) 
    {
        this.useTokenId = useTokenId;
    }

    public Long getUseTokenId() 
    {
        return useTokenId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("txtId", getTxtId())
            .append("txtContent", getTxtContent())
            .append("txtLength", getTxtLength())
            .append("classIds", getClassIds())
            .append("classNames", getClassNames())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("modelName", getModelName())
            .append("useToken", getUseToken())
            .append("useTokenId", getUseTokenId())
            .toString();
    }

    public Integer getGennum() {
        return gennum;
    }

    public void setGennum(Integer gennum) {
        this.gennum = gennum;
    }
}
